package com.wzq.dao.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author pzm
 * @since 2022-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_wechat_user")
public class Wechat_user implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号码
     */
    private String phone;

    private String openid;

    /**
     * 微信名
     */
    private String nickName;

    private String avatarUrl;

    @TableField(select = false,exist = false)
    private String code; // 微信用户code 前端传来的

    private  String username;
    private  String password;
    private  String sys_number;
    private  Integer sex;
    private  String unit;
    @TableField(select = false,exist = false)
    private  String type;

    @TableField(exist = false)
    private  String sex_c;


}
